﻿using System.ComponentModel.DataAnnotations.Schema;
using Abp.Domain.Values;
using JetBrains.Annotations;

namespace DHJ.Cost.CostBooking
{
    public class CostSubject : ValueObject<CostSubject>
    {
        [UsedImplicitly]
        private CostSubject()
        {
        }

        public CostSubject(string department)
        {
            Department = department;
        }

        [Column(nameof(Department))]
        public string Department { get; private set; }
    }
}